import{useSearchParams}from"react-router-dom"
function User(){
    const[params]=useSearchParams()
    return(
        <h4>用户中心--{params.get('id')}</h4>
    )
}
export default User;